package com.lintf.jwt.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.lintf.jwt.entity.User;
import com.lintf.jwt.entity.UserPermissions;

import java.util.List;

/**
 * @ system:Window
 * @ author:lin tingfeng
 * @ data:2022/3/15-16:54
 * @ package_name:com.lintf.jwt.service
 * @ project_name:SpringSecurity-JWT
 * @ desc:用户服务接口
 */

public interface UserService {

    User register(User user);

    String login(String username, String password);

    List<UserPermissions> getPermissionList(String username);

    List<User> getlist(User user);

//    User getOne(QueryWrapper queryWrapper);
}
